import { axios } from '@/utils/request'

/**
 * 查询其他收支
 *
 * @author anti
 * @date 2021-06-03 09:34:42
 */
export function billOtherRevenuesPage (parameter) {
  return axios({
    url: '/billOtherRevenues/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 其他收支列表
 *
 * @author anti
 * @date 2021-06-03 09:34:42
 */
export function billOtherRevenuesList (parameter) {
  return axios({
    url: '/billOtherRevenues/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加其他收支
 *
 * @author anti
 * @date 2021-06-03 09:34:42
 */
export function billOtherRevenuesAdd (parameter) {
  return axios({
    url: '/billOtherRevenues/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑其他收支
 *
 * @author anti
 * @date 2021-06-03 09:34:42
 */
export function billOtherRevenuesEdit (parameter) {
  return axios({
    url: '/billOtherRevenues/edit',
    method: 'post',
    data: parameter
  })
}

export function billOtherRevenuesEditDaoZhang (parameter) {
  return axios({
    url: '/billOtherRevenues/editDaoZhang',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除其他收支
 *
 * @author anti
 * @date 2021-06-03 09:34:42
 */
export function billOtherRevenuesDelete (parameter) {
  return axios({
    url: '/billOtherRevenues/delete/' + parameter,
    method: 'get'
  })
}

export function getLookDetail (parameter) {
  return axios({
    url: '/billOtherRevenues/getLookDetail/' + parameter,
    method: 'get'
  })
}

export function getHjBySearchType (parameter) {
  return axios({
    url: '/billOtherRevenues/getHjBySearchType/' + parameter,
    method: 'get'
  })
}

export function getTs () {
  return axios({
    url: '/busIndexPage/getTs',
    method: 'get'
  })
}

export function getNowTs () {
  return axios({
    url: '/busIndexPage/getNowTs',
    method: 'get'
  })
}

export function getTjData () {
  return axios({
    url: '/busIndexPage/getTjData',
    method: 'get'
  })
}

export function cwTj (parameter) {
  return axios({
    url: '/busIndexPage/cwTj',
    method: 'post',
    data: parameter
  })
}

export function cwTjHz (parameter) {
  return axios({
    url: '/busIndexPage/cwTjHz',
    method: 'post',
    data: parameter
  })
}
